package com.dh.project.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.dh.project.mapper.OrderServiceProjectMapper;
import com.dh.project.model.OrderServiceProject;
import com.dh.project.service.OrderServiceProjectService;
import com.dh.project.view.OrderServiceProjectView;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2017/3/29.
 */
@Service
public class OrderServiceProjectImpl extends SuperServiceImpl<OrderServiceProjectMapper,OrderServiceProject> implements OrderServiceProjectService {

    @Autowired
    private OrderServiceProjectMapper orderServiceProjectMapper;

    @Override
    public OrderServiceProject selectByOrderId(Map map) {
        return orderServiceProjectMapper.selectByOrderId(map);
    }

    @Override
    public List<OrderServiceProjectView> selectServiceProjectList(Map map) {
        return orderServiceProjectMapper.selectServiceProjectList(map);
    }
}
